public class Example12 {
    public static void main(String[] args) {
       int x = 1;
       while (x <= 4) {
           System.out.println("x = " + x);
           x++;
       }
    }
}
